<template>
<div class="userLayout">
    <a-layout style="min-height: 100vh;">
      <a-layout-header class="header">
        <a-space>
          <img src="../assets/oj-logo.jpg" class="logo" />
          <div style="font-size: 30px;">鱼OJ</div>
        </a-space>
     
      </a-layout-header>


      <a-layout-content class="content">
        <router-view />
      </a-layout-content>


      <a-layout-footer class="footer">
        <a href="www.baidu.com">Footer</a>
      </a-layout-footer>
    </a-layout>
</div>
 
</template>


<style scoped>

.userLayout{
  text-align:center;
  background: url(https://gw.alipayobjects.com/zos/rmsportal/FfdJeJRQWjEeGTpqgBKj.png)
   0% 0% / 100% 100%;
}
.logo{
  width: 120px;
  height: 120px;
  border-radius: 100%;
}
.header{
  box-shadow: #eee 1px 1px 5px;
  margin-top: 16px;
  margin-bottom: 16px;
}
.menu-demo {
  box-sizing: border-box;
  width: 100%;
  padding: 40px;
  background-color: var(--color-neutral-2);
}
.content{
 
  margin-bottom: 16px;
  padding: 20px;
}
.footer{
 
  padding: 16px;
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
}
</style>


<script>
</script>